#!
cd $DOCS_PUBLISH/admin

cnpm install

npm run build

cd $DOCS_PUBLISH/public

rm login.html
rm -r static/

cp $DOCS_PUBLISH/admin/dist/index.html login.html
cp -r $DOCS_PUBLISH/admin/dist/static/ static/

rm static/js/*.map
